using System.ComponentModel.DataAnnotations;
using MESBaseis.Domain.BaseEntities;

namespace MESBaseis.Domain.XZY
{
    /// <summary>
    /// 仓库实体
    /// </summary>
    public class WarehouseModel : BaseModel
    {
        /// <summary>
        /// 仓库名称
        /// </summary>
        [Required]
        [StringLength(200)]
        public string WarehouseName { get; set; } = string.Empty;

        /// <summary>
        /// 仓库位置
        /// </summary>
        [StringLength(500)]
        public string? Location { get; set; }

        /// <summary>
        /// 仓库类型
        /// </summary>
        [StringLength(100)]
        public string? WarehouseType { get; set; }

        /// <summary>
        /// 仓库管理员
        /// </summary>
        [StringLength(100)]
        public string? Manager { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        [StringLength(20)]
        public string? ContactPhone { get; set; }

        /// <summary>
        /// 仓库状态
        /// </summary>
        [StringLength(50)]
        public string Status { get; set; } = "正常";

        /// <summary>
        /// 备注
        /// </summary>
        [StringLength(500)]
        public string? Remarks { get; set; }
    }
}